package stru

import (
	"fmt"
	"gitlab.yoyiit.com/youyi/go-core/handler"
	"strconv"
)

type ListCounterpartyContactDataRequest struct {
	handler.BasePaginationRequest
	CounterpartyId int64 `json:"counterpartyId" form:"counterpartyId"`	//关联的交易对手ID
	ContactName string `json:"contactName" form:"contactName"`	//联系人
	ContactPhone string `json:"contactPhone" form:"contactPhone"`	//联系电话
	ContactAddress string `json:"contactAddress" form:"contactAddress"`	//联系地址
	ProvinceName string `json:"provinceName" form:"provinceName"`	//省名称
	ProvinceCode string `json:"provinceCode" form:"provinceCode"`	//省编码
	CityName string `json:"cityName" form:"cityName"`	//市名称
	CityCode string `json:"cityCode" form:"cityCode"`	//市编码
	AreaName string `json:"areaName" form:"areaName"`	//区名称
	AreaCode string `json:"areaCode" form:"areaCode"`	//区编码
	
}

type CounterpartyContactData struct {
	Id           int64  `json:"id" form:"id"`
	CounterpartyId int64 `json:"counterpartyId" form:"counterpartyId"`	//关联的交易对手ID
	ContactName string `json:"contactName" form:"contactName"`	//联系人
	ContactPhone string `json:"contactPhone" form:"contactPhone"`	//联系电话
	ContactAddress string `json:"contactAddress" form:"contactAddress"`	//联系地址
	ProvinceName string `json:"provinceName" form:"provinceName"`	//省名称
	ProvinceCode string `json:"provinceCode" form:"provinceCode"`	//省编码
	CityName string `json:"cityName" form:"cityName"`	//市名称
	CityCode string `json:"cityCode" form:"cityCode"`	//市编码
	AreaName string `json:"areaName" form:"areaName"`	//区名称
	AreaCode string `json:"areaCode" form:"areaCode"`	//区编码
	
}

type BatchDeleteCounterpartyContactRequest struct {
	Ids []int64 `json:"ids" form:"ids"`
}